package com.hejielife.immutable2;

/**
 * 2019年8月2日 上午10:59:56
 * 
 * @author hejielife
 * @despribe point
 */
public class Point {
	public int x;
	public int y;

	public Point(int x, int y) {
		this.x = x;
		this.y = y;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	public String toString() {
		return "(" + x + "," + y + ")";
	}
}
